package com.centaline.androidsalesblog.api.usercenter;

import com.centaline.androidsalesblog.constants.AppConstant;
import com.centaline.androidsalesblog.model.responseobject.SmsRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 发送短信
 * Created by guilin on 16/3/18.
 */
public class SmsApi extends BaseSmsApi<SmsRo> {

    public SmsApi(Class<?> tag, Class<SmsRo> aClass, IResponseListener<SmsRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    @Override
    protected void setParams() {
        super.setParams();
        putStringParams("Sign", md5(privateSecret, AppConstant.CityCode, mobile, publicSecret));
    }

    @Override
    protected String getPath() {
        return "SmsRequest";
    }
}
